package cn.iocoder.yudao.module.design.convert.relativednc;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.design.controller.admin.relativednc.vo.RelativedNcCreateReqVO;
import cn.iocoder.yudao.module.design.controller.admin.relativednc.vo.RelativedNcExcelVO;
import cn.iocoder.yudao.module.design.controller.admin.relativednc.vo.RelativedNcRespVO;
import cn.iocoder.yudao.module.design.controller.admin.relativednc.vo.RelativedNcUpdateReqVO;
import cn.iocoder.yudao.module.design.dal.dataobject.relativednc.RelativedNcDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 关联人表请求 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface RelativedNcConvert {

    RelativedNcConvert INSTANCE = Mappers.getMapper(RelativedNcConvert.class);

    RelativedNcDO convert(RelativedNcCreateReqVO bean);

    RelativedNcDO convert(RelativedNcUpdateReqVO bean);

    RelativedNcRespVO convert(RelativedNcDO bean);

    List<RelativedNcRespVO> convertList(List<RelativedNcDO> list);

    PageResult<RelativedNcRespVO> convertPage(PageResult<RelativedNcDO> page);

    List<RelativedNcExcelVO> convertList02(List<RelativedNcDO> list);

}
